<?php
namespace app\models;

/**
* 
*/
class Cart extends BaseMongoModel
{
    public static function getDb()
    {
        return \Yii::$app->mongodb;
    }

    public function attributes()
    {
        return ['_id','user_id','goods_id','sku_id','yx_sku_id','sku_pic','goods_name','sku_spec','sku_price','num','sku_amount'];
    }

}
